std::unordered_set::bucket_count

From Cppreference

Jump to: navigation, search
​size_type bucket_count() const;
(C++0x feature)

Returns the number of buckets in the container.

Contents

Parameters

(none)

Return value

the number of buckets in the container

Complexity

constant

See also

bucket_size
returns the number of elements in specific bucket
(public member function)
max_bucket_count
returns the maximum number of buckets
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages